//
//  Team9DesignerModel.m
//  Team9Project
//
//  Created by 朱嘉祺 on 15/10/12.
//  Copyright © 2015年 apple. All rights reserved.
//

#import "Team9DesignerModel.h"

@implementation Team9DesignerModel

-(void)encodeWithCoder:(NSCoder *)aCoder
{
    [aCoder encodeObject:self.user_nick forKey:@"user_nick"];
    [aCoder encodeObject:self.user_face forKey:@"user_face"];
    [aCoder encodeObject:self.user_id forKey:@"user_id"];
}

-(id)initWithCoder:(NSCoder *)aDecoder
{
    self=[super init];
    if (self) {
        self.user_nick = [aDecoder decodeObjectForKey:@"user_nick"];
        self.user_face = [aDecoder decodeObjectForKey:@"user_face"];
        self.user_id = [aDecoder decodeObjectForKey:@"user_id"];
    }
    return self;
}

@end
